<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>IupSetLanguagePack</title>

<link rel="stylesheet" type="text/css" href="../../style.css">
</head>
<body>

<h2>IupSetLanguagePack</h2>
<p>Sets a pack of associations between names and string values. Internally will 
call <strong>IupSetLanguageString</strong> for each name in the pack.</p>
<h3>
Parameters/Return</h3>
<pre>void IupSetLanguagePack(Ihandle* <b>ih</b>); [in C] <br>
iup.SetLanguagePack(<strong>ih</strong>: ihandle) [in Lua]</pre>
<p><strong>ih</strong>: pack of name-value association. It is simply a <strong>
IupUser</strong> element with several attributes set.</p>
<h3>Notes</h3>
<p>After setting the pack it can be destroyed.</p>
<p>The existent associations will not be removed. But if the new ones have the 
same names, the old ones will be replaced. If set to NULL will remove all 
current associations.</p>
<h3>Examples</h3>
<pre> pack = iup.user{}
pack["IUP_RED"] = "Vermelho"
pack["MY_ITEMCOLORTEST"] = "Teste de Cor" 
iup.SetLanguagePack(pack) 
iup.Destroy(pack)</pre>
<h3>See Also</h3>
<p><a href="iupgetlanguagestring.html">IupGetLanguageString</a>, <a href="iupsetlanguagestring.html">IupSetLanguageString</a>,
<a href="../elem/iupuser.html">IupUser</a></p>

</body>

</html>